package com.platform.car.model;

import java.util.Date;
import java.util.List;

public class Parkuse {

    /**
     * 编号
     */
    private Integer id;

    /**
     * 车位的ID
     */
    private  Integer parkinglotId;

    /**
     * 车位的编号
     */
    private String parkinglotName;

    /**
     * 用户的JPS信息
     */
    private String gpsInfo;

    /**
     * 用户的ID
     */
    private Integer userId;

    /**
     * 用户的名字
     */
    private String userName;

    /**
     * 预约时间
     */
    private Date makeTime;

    /**
     * 预约状态
     */
    private String status;

    /**
     * 车牌号
     */
    private String numberPlates;

    /**
     * 收费开始的时间
     */
    private Date useTime;

    /**
     * 离开时间
     */
    private Date leaveTime;

    /**
     * 创建时间
     */
    private Date setTime;


    /**
     * 备注
     */
    private String intro;

    /**
     * 查找
     */
    private String search;

    /**
     * 停车场的ID
     */
    private Integer parkingId;

    /**
     * 组织的Id
     */
    private Integer orgId;

    /**
     * 分区名称
     */
    private String zoneName;

    /**
     * 车位的编号
     */
    private  String parkNum;


    /**
     * 停车场名称
     */
    private String parkName;

    /**
     * 停车场分区图片的路径
     */
    private String img;

    /**
     * 地锁的ID
     */
    private Integer lockId;

    /**
     * 免费时长
     */
    private String charging;

    private Long countParkTotal;

    private Long countPark;

    private Long countAutoParkTotal;

    private Long  countAutoPark;

    private Long countOrdinaryParkTotal;

    private Long countOrdinaryPark;

    private  Date countdown;

    private Lock lock;

    private Double payfee;

    private Double totalPay;

    private  Double dayFee;

    private Double nightFee;

    private Parkinglot parkinglot;

    private Parking parking;

    private List<Parkingpay>  parkingpays;

    public Parkuse() {
    }

    public Parkuse(String numberPlates) {
        this.numberPlates = numberPlates;
    }

    public Parkuse(Integer id, String status, Date useTime) {
        this.id = id;
        this.status = status;
        this.useTime = useTime;
    }

    public Parkuse(Integer userId, String numberPlates) {
        this.userId = userId;
        this.numberPlates = numberPlates;
    }

    public Parkuse( Integer parkinglotId, Integer userId, String status, String numberPlates, Date useTime,  Date setTime, String intro) {
        this.parkinglotId = parkinglotId;
        this.userId = userId;
        this.status = status;
        this.numberPlates = numberPlates;
        this.useTime = useTime;
        this.setTime = setTime;
        this.intro = intro;
    }

    @Override
    public String toString() {
        return "Parkuse{" +
                "id=" + id +
                ", parkinglotId=" + parkinglotId +
                ", parkinglotName='" + parkinglotName + '\'' +
                ", gpsInfo='" + gpsInfo + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", makeTime=" + makeTime +
                ", status='" + status + '\'' +
                ", numberPlates='" + numberPlates + '\'' +
                ", useTime=" + useTime +
                ", leaveTime=" + leaveTime +
                ", setTime=" + setTime +
                ", intro='" + intro + '\'' +
                '}';
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParkinglotId() {
        return parkinglotId;
    }

    public void setParkinglotId(Integer parkinglotId) {
        this.parkinglotId = parkinglotId;
    }

    public String getParkinglotName() {
        return parkinglotName;
    }

    public void setParkinglotName(String parkinglotName) {
        this.parkinglotName = parkinglotName;
    }

    public String getGpsInfo() {
        return gpsInfo;
    }

    public void setGpsInfo(String gpsInfo) {
        this.gpsInfo = gpsInfo;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getMakeTime() {
        return makeTime;
    }

    public void setMakeTime(Date makeTime) {
        this.makeTime = makeTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNumberPlates() {
        return numberPlates;
    }

    public void setNumberPlates(String numberPlates) {
        this.numberPlates = numberPlates;
    }


    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }

    public Date getSetTime() {
        return setTime;
    }

    public void setSetTime(Date setTime) {
        this.setTime = setTime;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Long getCountParkTotal() {
        return countParkTotal;
    }

    public void setCountParkTotal(Long countParkTotal) {
        this.countParkTotal = countParkTotal;
    }

    public Long getCountPark() {
        return countPark;
    }

    public void setCountPark(Long countPark) {
        this.countPark = countPark;
    }

    public Long getCountAutoPark() {
        return countAutoPark;
    }

    public void setCountAutoPark(Long countAutoPark) {
        this.countAutoPark = countAutoPark;
    }

    public Long getCountAutoParkTotal() {
        return countAutoParkTotal;
    }

    public void setCountAutoParkTotal(Long countAutoParkTotal) {
        this.countAutoParkTotal = countAutoParkTotal;
    }

    public Lock getLock() {
        return lock;
    }

    public void setLock(Lock lock) {
        this.lock = lock;
    }

    public Long getCountOrdinaryParkTotal() {
        return countOrdinaryParkTotal;
    }

    public void setCountOrdinaryParkTotal(Long countOrdinaryParkTotal) {
        this.countOrdinaryParkTotal = countOrdinaryParkTotal;
    }

    public Long getCountOrdinaryPark() {
        return countOrdinaryPark;
    }

    public void setCountOrdinaryPark(Long countOrdinaryPark) {
        this.countOrdinaryPark = countOrdinaryPark;
    }

    public Date getCountdown() {
        return countdown;
    }

    public void setCountdown(Date countdown) {
        this.countdown = countdown;
    }

    public Integer getParkingId() {
        return parkingId;
    }

    public void setParkingId(Integer parkingId) {
        this.parkingId = parkingId;
    }

    public String getZoneName() {
        return zoneName;
    }

    public void setZoneName(String zoneName) {
        this.zoneName = zoneName;
    }

    public String getParkNum() {
        return parkNum;
    }

    public void setParkNum(String parkNum) {
        this.parkNum = parkNum;
    }

    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getLockId() {
        return lockId;
    }

    public void setLockId(Integer lockId) {
        this.lockId = lockId;
    }

    public String getCharging() {
        return charging;
    }

    public void setCharging(String charging) {
        this.charging = charging;
    }

    public Double getPayfee() {
        return payfee;
    }

    public void setPayfee(Double payfee) {
        this.payfee = payfee;
    }

    public Double getTotalPay() {
        return totalPay;
    }

    public void setTotalPay(Double totalPay) {
        this.totalPay = totalPay;
    }

    public Double getDayFee() {
        return dayFee;
    }

    public void setDayFee(Double dayFee) {
        this.dayFee = dayFee;
    }

    public Double getNightFee() {
        return nightFee;
    }

    public void setNightFee(Double nightFee) {
        this.nightFee = nightFee;
    }

    public Parkinglot getParkinglot() {
        return parkinglot;
    }

    public void setParkinglot(Parkinglot parkinglot) {
        this.parkinglot = parkinglot;
    }

    public Parking getParking() {
        return parking;
    }

    public void setParking(Parking parking) {
        this.parking = parking;
    }

    public List<Parkingpay> getParkingpays() {
        return parkingpays;
    }

    public void setParkingpays(List<Parkingpay> parkingpays) {
        this.parkingpays = parkingpays;
    }
}
